.class Lcom/htc/android/footprints/activity/SearchActivity$3;
.super Ljava/lang/Object;
.source "SearchActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/activity/SearchActivity;->onCreateDialog(I)Landroid/app/Dialog;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/activity/SearchActivity;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/activity/SearchActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 208
    iput-object p1, p0, Lcom/htc/android/footprints/activity/SearchActivity$3;->this$0:Lcom/htc/android/footprints/activity/SearchActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 2
    .parameter "dialog"
    .parameter "chich"

    .prologue
    .line 209
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 210
    iget-object v0, p0, Lcom/htc/android/footprints/activity/SearchActivity$3;->this$0:Lcom/htc/android/footprints/activity/SearchActivity;

    invoke-virtual {v0}, Lcom/htc/android/footprints/activity/SearchActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/htc/android/footprints/activity/SearchActivity$3;->this$0:Lcom/htc/android/footprints/activity/SearchActivity;

    #getter for: Lcom/htc/android/footprints/activity/SearchActivity;->mSelectedFootprint:Lcom/htc/android/footprints/vo/Footprint;
    invoke-static {v1}, Lcom/htc/android/footprints/activity/SearchActivity;->access$600(Lcom/htc/android/footprints/activity/SearchActivity;)Lcom/htc/android/footprints/vo/Footprint;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/htc/android/footprints/utils/FootprintUtils;->deleteFootprint(Landroid/content/Context;Lcom/htc/android/footprints/vo/Footprint;)V

    .line 211
    iget-object v0, p0, Lcom/htc/android/footprints/activity/SearchActivity$3;->this$0:Lcom/htc/android/footprints/activity/SearchActivity;

    iget-object v0, v0, Lcom/htc/android/footprints/activity/SearchActivity;->mAdapter:Lcom/htc/android/footprints/activity/SearchActivity$ListModeAdapter;

    invoke-virtual {v0}, Lcom/htc/android/footprints/activity/SearchActivity$ListModeAdapter;->updateSections()V

    .line 212
    return-void
.end method
